package com.wuxiaofan.feign;

import com.alibaba.fastjson.JSONObject;
import com.wuxiaofan.vo.ReturnResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "spring-cloud-alibaba-product")
public interface ProductFeignClient {

    @RequestMapping("test1")
    public ReturnResult test1();

    @RequestMapping("productInfo/subRepertory")
    public ReturnResult subRepertory(@RequestBody JSONObject jsonObject);
}
